//
//  DepositFlowCell.swift
//  SlaughterClient
//
//  Created by 邱仙凯 on 2020/3/31.
//  Copyright © 2020 zwb. All rights reserved.
//

import UIKit

class ZyaDepositFlowCell: UITableViewCell {

    @IBOutlet weak var topLab: UILabel!
    @IBOutlet weak var img: UIImageView!
    @IBOutlet weak var bottomLab: UILabel!
    @IBOutlet weak var rightLab: UILabel!
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
        self.selectionStyle = .none
    }
    
    
    var one = ZyaCashFlowModel(JSON:["":""])! {
          didSet {
            let imgStr = one.auditMark.unwrap == "1" ? "bzj_jiaona" : "bzj_tuikuan"
            img.image = UIImage(named: imgStr)
            topLab.text = one.auditMark.unwrap == "1" ? "缴纳" : "退款"
              bottomLab.text =  one.zDate.unwrap
             rightLab.text = one.zMoney.unwrap
      
          }
      }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }

}
